﻿using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.Rendering;

namespace QRCodePass.Mvc.ViewModels.Process
{
    public class ProcessCreateViewModel
    {
        [Display(Name = "流程编号")]
        public int ProcessId { get; set; }

        [Display(Name = "流程名称")]
        public string Title { get; set; }

        [Display(Name = "描述")]
        public string Description { get; set; }

        [Display(Name = "前置任务")] 
        public int PreTask { get; set; }
        [Display(Name = "报到点")]
        public int BuildId { get; set; }

        [Display(Name = "系部")]
        public int DepartmentId { get; set; }

        [Display(Name = "所属楼栋")]
        public SelectList BuildList { get; set; }

        [Display(Name = "前置任务")]
        public SelectList ProcList { get;  set; }
        [Display(Name = "所属系部")]
        public SelectList DepartmentList { get;  set; }
    }
}